<com:TPanel id="PortletEditMode" Style="border-bottom: 1px solid black; margin: 0px 0px 0px 0px; text-align: right;">
	<com:TImageButton OnClick="MoveButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_next.gif" Text="<%[Move to another area%>" />
	<com:TImageButton OnClick="UpButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_up.gif" Text="<%[Move portlet up]%>" />
	<com:TImageButton OnClick="DownButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_down.gif" Text="<%[Move portlet down]%>" />
	<com:TImageButton OnClick="PropertyButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_form.png" Text="<%[Properties]%>" />
	<com:TImageButton OnClick="DeleteButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_delete.png" Text="<%[Remove portlet]%>" Attributes.onclick="if(!confirm('<%= Prado::localize('Are you sure?') %>')) return false;" />
</com:TPanel>
<com:TPanel id="EditContent" DefaultButton="SaveContent" style="width: 100%">
	<table width="100%">
		<tr>
			<td width="20%"><%[CSS class]%></td><td><com:TTextBox id="HTMLPortletCSS" Columns="20" /></td>
		</tr>
		<tr>
			<td colspan="2" width="100%">
				<com:PortalHtmlArea id="HtmlContent" CustomPluginPath="Application.Common.3rdParty.TinyMCE.*">
					<prop:Options>
						theme: "advanced",
						content_css : "<%=$this->Request->BaseUrl%>/themes/Portal/<%=$this->Application->Parameters['ThemeName']%>/style.css",
						body_class : "x_tinymce_editor_body",
						file_browser_callback : "tinyBrowser",
					</prop:Options>
				</com:PortalHtmlArea>
			</td>
		</tr>
		<tr>
			<td colspan="2" width="100%"><hr /></td>
		</tr>
		<tr>
			<td><com:TPortalLinkButton Id="SaveContent" Text="<%[Save]%>" CssClass="link-button" OnClick="SaveContent" /></td>
			<td style="text-align: right;"><div style="float: right;"><com:TPortalLinkButton ID="CancelContent" Text="<%[Cancel]%>" CssClass="link-button" OnClick="CancelContent" /></div></td>
		</tr>
	</table>
</com:TPanel>